package com.test.mchelepesa.bean_rice.user_info_rice;

import com.test.mchelepesa.util_rice.StringUtil_rice;
import com.google.gson.Gson;

import org.json.JSONObject;

public class RepayH5Info_ug_ke_rice {

    private static class Inner {
        private static RepayH5Info_ug_ke_rice instance = new RepayH5Info_ug_ke_rice();
    }

    private RepayH5Info_ug_ke_rice(){}

    public static RepayH5Info_ug_ke_rice getInstance(){
        return Inner.instance;
    }

    private String repayUrl;

    public static void parse(JSONObject objJson){
        Inner.instance = new Gson().fromJson(objJson.toString(), RepayH5Info_ug_ke_rice.class);
    }

    public String getUrl() {
        return StringUtil_rice.getSafeString(repayUrl);
    }

}
